package com.zbkj.common.model.client.workbench;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

@Data
@TableName(value = "eb_client_video_template_config", autoResultMap = true)
public class VideoTemplateConfig implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String linkId;
    private String title;
    private String ossUrl;
    private Integer status;
    private Integer isDel;

    @TableField(value = "config", typeHandler = JacksonTypeHandler.class)
    private Map<String, Object> config; // 建议用String存储JSON数组，如需List可自定义转换


    private Date createTime;
    private Date updateTime;
} 